﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Guest.Master" AutoEventWireup="True"
    CodeBehind="List.aspx.cs" Inherits="ScrumLite.WebUx.PeopleViews.List" %>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h1>
        <%=ViewData.ProjectName%></h1>
        <hr />
    <h2>
        People</h2>
    <br />
    <div class="formTable">
        <table cellspacing="0">
            <tr>
                <th>
                    Employee
                </th>
                <th>
                    Abilities
                </th>
                <th>
                    Education
                </th>
            </tr>
            <% foreach (ScrumLite.Services.Contracts.Person person in ViewData.People)
               { %>
            <tr>
                <td>
                    <%= person.Name %>
                </td>
                <td>
                    <%= Html.ActionLink("View...", new {PersonId = person.Id, Controller = "People", Action = "Abilities" } ) %>
                </td>
                <td>
                    <%= Html.ActionLink("View...", new {PersonId = person.Id, Controller = "People", Action = "Education" } ) %>
                </td>
            </tr>
            <%} %>
        </table>
    </div>
    <br />
</asp:Content>
